<?php

namespace Modules\Cart\Entities;

use Modules\Core\Entities\BaseEntity as Model;
use ThrowException;

class CartItem extends Model
{
    protected $guarded = [];
    protected $table = 'carts';

    static public $resourceName = '购物车条目';

    protected $casts = [
    ];

    public function sku()
    {
        return $this->belongsTo('\Modules\Product\Entities\Sku', 'sku_id');
    }
}
